﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace MensUnoShop.Models
{
    public enum PayType
    {
        Default = 0,
        CreditCard = 1,
        ATM,          
        WebATM,
        CS,//超商代收
        MMK,//ibon,famiport,life-et
        ALIPAY//支付寶
    };

    public class ComparOrderData : IEqualityComparer<OrderData>
    {

        public bool Equals(OrderData x, OrderData y)
        {
            if (x == null && y == null)
                return false;
            return x.OGUID==y.OGUID;
        }

        public int GetHashCode(OrderData obj)
        {
            return obj.ToString().GetHashCode();
        }
    }

}